package com.achievement.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("biz_breed")
@EqualsAndHashCode(callSuper = false)
public class BreedEntity extends CommonEntity implements Serializable {


    private static final long serialVersionUID = 3483456161382591079L;
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @Excel(name = "名称")
    private String name;
    private String code;
    @Excel(name = "所属单位")
    private String unitId;
    @Excel(name = "审定单位")
    private String authorizeUnit;
    @Excel(name = "审定级别")
    private String authorizeLevelId;
    @Excel(name = "审定日期",dateFormat = "yyyy-MM-dd")
    private Date authorizeDate;
    private String fileIds;
    @Excel(name = "备注")
    private String note;

    private String firstAuthorId;
    private String firstAuthorName;
    private String firstAuthorAccount;
    private String firstAuthorTitleId;
    private String firstAuthorSexid;
    private String firstAuthorEduLevelId;
    private String firstAuthorEduDegreeId;
    private String divisionId;
    private Integer authorNumber;
    @Excel(name = "审核状态",readConverterExp ="-2=待完善,-1=暂存,1=审批中,2=审批通过,3=审批不通过")
    private String checkstatus;

    private String checkdate;
    private String checker;
    private String authorpids;
    @Excel(name = "所有完成人")
    private String authornames;
    private String authorunitids;
    private String completedatastatus;

    private String processInstanceId;

}
